[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function            NKEY()
Action              Gets key of an index file
Returns             <expC> index key expression
Category            File
Syntax              NKEY(<expC>)
Description         Gets key expression of index <expC>. <expC> is
                    the name of the index including extension. The
                    function operates differently from .ntx to .ndx.
Examples            ndxknt = adir("*.ndx")
                    declare ind[ndxknt]
                    adir(ind,"*.ndx")
                    for i = 1 to ndxknt
                        ?"Key for index: "+ind[i]+" is "+NKEY(ind[i])
                    next

Warnings            Uses up a file handle temporarily.

Found in (prg)......S_NKEY.PRG

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson